<?php

?>

<form class="well form-inline margin-horisontal login" action="" method="POST" name="loginForm" id="loginForm">
    <fieldset>
        <legend>Вход в систему</legend>

        <?php echo Arr::getValue($params, 'message', ''); ?>
        <?php echo Arr::getValue($params, 'error', ''); ?>


        <input type="hidden" name="token" id="token" value="<?php echo Arr::getValue($params, 'token', ''); ?>">
        <input type="hidden" name="pass" id="pass" value="">
        <input type="hidden" name="action" id="action" value="login">

        <div class="control-group">
        <label class="control-label" for="pass_plain">Пароль</label>
            <div class="controls">
                <input type="password" class="input-xlarge" id="pass_plain" name="pass_plain" value="" autocomplete="off">
                <span class="help-inline"></span>
            </div>
        </div>


        <div class="form-actions">
            <button type="submit" class="btn btn-primary"><i class="icon-user icon-white"></i> Войти</button>
        </div>
    </fieldset>
</form>
